const got = require('got');
exports.main = async(event, context) => {
  let getResponse = await got('httpbin.org/get')
  let postResponse = await got('httpbin.org/post', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      title: 'title test',
      value: 'value test'
    })
  })
  return postResponse.body
}